//
//  AppDelegate.m
//  LLP
//
//  Created by Porcellio on 10/9/12.
//  Copyright (c) 2012 Porcellio. All rights reserved.
//

#import "AppDelegate.h"

#import "HomeViewController.h"

@implementation AppDelegate

- (void)dealloc
{
    [_window release];
    [_navigation release];
    
    [super dealloc];
}

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];
    
    HomeViewController* homeView = [[[HomeViewController alloc] init]autorelease];
    
    _navigation = [[UINavigationController alloc]initWithRootViewController:homeView];
    self.window.rootViewController = _navigation;
    
    [self.window addSubview:_navigation.view];
    self.window.backgroundColor = [UIColor whiteColor];
    
    [self.window makeKeyAndVisible];
    return YES;
}


@end
